<!--  -->
<template>
    <div class="flex j-c a-c error" @click="backHome">
        <img src="~assets/img/error404/404.png" alt="">
        <h1>您访问的页面不存在</h1>
    </div>
</template>

<script>
    export default {
        name:'',
        methods: {
            backHome(){
                this.$router.push('/layout')
            }
        }

    }

</script>

<style scoped>
.error{
    height: 100vh;
}
h1{
    color: tomato;
}

</style>